<template>
  <div class="nodata">
    <span class="nodata_item">暂无数据</span>
  </div>
</template>

<script>
export default {
  name: 'Nodata',

  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.nodata {
  background-color: red;
  position: relative;
  .nodata_item {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
  }
}
</style>
